package com.example.hotelsystem.vo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class OrderViewVO {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "订单id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "预订人id")
    private Long userId;

    @ApiModelProperty(value = "入住时间")
    private Date checkinTime;

    @ApiModelProperty(value = "退房时间")
    private Date checkoutTime;

    @ApiModelProperty(value = "订单价格")
    private Double price;

    @ApiModelProperty(value = "状态(0:未付款，1:已付款,2:已取消)")
    private Integer status;

    @ApiModelProperty(value = "支付时间")
    private Date payTime;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "房间号码")
    private Long roomNumber;

    @ApiModelProperty(value = "酒店名称")
    private String hotelName;

    @ApiModelProperty(value = "楼层名称")
    private String floorName;

    @ApiModelProperty(value = "城市名称")
    private String cityName;

    @ApiModelProperty(value = "房间类型ID")
    private Long roomTypeId;

    @ApiModelProperty(value = "房间类型名称")
    private String roomTypeName;

    @ApiModelProperty(value = "用户名称")
    private String userName;

    @ApiModelProperty(value = "图片list")
    List<String> imageList;

    private String lockPassword;
}
